{include file="public/header" /}
<body>
<div class="header">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i> 转账记录
</div>
<ul class="draw-rec-list tpl_list"></ul>
</body>
{include file="public/footer" /}
<script id="template" type="text/html">
    {{# for(var i = 0; i < d.data.length; i++) { }}
    <li>
        <div class="flex-layout">
            <div>
                <p>{{d.data[i].account}}（{{d.data[i].trUser}}）</p>
                <p class="time">{{d.data[i].create_time}}</p>
            </div>
            <p class="status"></p>
            <p>
                {{# if(d.data[i].trStatus == '转出'){ }}
                - ￥{{d.data[i].amount}}
                {{# }else { }}
                + ￥{{d.data[i].real_amount}}
                {{# } }}
            </p>
        </div>
        <p class="reject">实际到账：￥{{d.data[i].real_amount}}</p>
    </li>
    {{# } }}
</script>
<script>
    $(function () {
        getFlow('', "{:url('transfer/getList')}");
    });
</script>
</html>